package com.dw.etl.core.bean.model;

import java.io.Serializable;
import java.util.Date;

public class EtlLogXxltobatch implements Serializable {

	private static final long serialVersionUID = 1L;

	private Date triggerTime;

	private String naHandler;

	private Long jobInstanceId;

	private String jobName;

	private Date dtSysCre;

	private String idXxltobatch;

	private String status;

	private Boolean fgHandle;

	public String getIdXxltobatch() {
	    return idXxltobatch;
	}

	public void setIdXxltobatch(String idXxltobatch) {
	    this.idXxltobatch = idXxltobatch;
	}

	public Date getTriggerTime() {
	    return triggerTime;
	}

	public void setTriggerTime(Date triggerTime) {
	    this.triggerTime = triggerTime;
	}

	public String getNaHandler() {
	    return naHandler;
	}

	public void setNaHandler(String naHandler) {
	    this.naHandler = naHandler;
	}

	public Long getJobInstanceId() {
	    return jobInstanceId;
	}

	public void setJobInstanceId(Long jobInstanceId) {
	    this.jobInstanceId = jobInstanceId;
	}

	public String getJobName() {
	    return jobName;
	}

	public void setJobName(String jobName) {
	    this.jobName = jobName;
	}

	public Date getDtSysCre() {
	    return dtSysCre;
	}

	public void setDtSysCre(Date dtSysCre) {
	    this.dtSysCre = dtSysCre;
	}

	public String getStatus() {
	    return status;
	}

	public void setStatus(String status) {
	    this.status = status;
	}

	public Boolean getFgHandle() {
	    return fgHandle;
	}

	public void setFgHandle(Boolean fgHandle) {
	    this.fgHandle = fgHandle;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    EtlLogXxltobatch other = (EtlLogXxltobatch) that;
	    return (this.getIdXxltobatch() == null ? other.getIdXxltobatch() == null : this.getIdXxltobatch().equals(other.getIdXxltobatch())) && (this.getTriggerTime() == null ? other.getTriggerTime() == null : this.getTriggerTime().equals(other.getTriggerTime())) && (this.getNaHandler() == null ? other.getNaHandler() == null : this.getNaHandler().equals(other.getNaHandler())) && (this.getJobInstanceId() == null ? other.getJobInstanceId() == null : this.getJobInstanceId().equals(other.getJobInstanceId())) && (this.getJobName() == null ? other.getJobName() == null : this.getJobName().equals(other.getJobName())) && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getFgHandle() == null ? other.getFgHandle() == null : this.getFgHandle().equals(other.getFgHandle()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdXxltobatch() == null) ? 0 : getIdXxltobatch().hashCode());
	    result = prime * result + ((getTriggerTime() == null) ? 0 : getTriggerTime().hashCode());
	    result = prime * result + ((getNaHandler() == null) ? 0 : getNaHandler().hashCode());
	    result = prime * result + ((getJobInstanceId() == null) ? 0 : getJobInstanceId().hashCode());
	    result = prime * result + ((getJobName() == null) ? 0 : getJobName().hashCode());
	    result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
	    result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
	    result = prime * result + ((getFgHandle() == null) ? 0 : getFgHandle().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idXxltobatch=").append(idXxltobatch);
	    sb.append(", triggerTime=").append(triggerTime);
	    sb.append(", naHandler=").append(naHandler);
	    sb.append(", jobInstanceId=").append(jobInstanceId);
	    sb.append(", jobName=").append(jobName);
	    sb.append(", dtSysCre=").append(dtSysCre);
	    sb.append(", status=").append(status);
	    sb.append(", fgHandle=").append(fgHandle);
	    sb.append("]");
	    return sb.toString();
	}


}